.Net Framework > v3.0.6920.0 > System > Windows > IDataObject > SetData SetData(Object)
SetData(String,Object)
SetData(String,Object,Boolean)
SetData(Type,Object)


SetData(Object)

Category
Method
Description
Stores the specified data in this data object, automatically converting the data format from the source object type.
Type
void
Character
public, Abstract
Parameters
NameTypeDescription
dataObject
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 034B4F5192

SetData(String,Object)

Category
Method
Description
Stores the specified data in this data object, along with one or more specified data formats. The data format is specified by a string.
Type
void
Character
public, Abstract
Parameters
NameTypeDescription
formatString
dataObject
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 034B4F5192

SetData(String,Object,Boolean)

Category
Method
Description
Stores the specified data in this data object, along with one or more specified data formats. This overload includes a Boolean flag to indicate whether the data may be converted to another format on retrieval.
Type
void
Character
public, Abstract
Parameters
NameTypeDescription
formatString
dataObject
autoConvertBoolean
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 034B4F5192

SetData(Type,Object)

Category
Method
Description
Stores the specified data in this data object, along with one or more specified data formats. The data format is specified by a System.Type class.
Type
void
Character
public, Abstract
Parameters
NameTypeDescription
formatType
dataObject
Attributes
NameValue/Assignment
SecurityCriticalAttribute
Tags
01892ABD01, 02E3ABA98D, 034B4F5192

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database